package vip.xiaonuo.supplier.modular.purchase.suppliers.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.purchase.suppliers.entity.SupplierSuppliers;
import vip.xiaonuo.supplier.modular.purchase.suppliers.param.SupplierSuppliersAddParam;
import vip.xiaonuo.supplier.modular.purchase.suppliers.param.SupplierSuppliersEditParam;
import vip.xiaonuo.supplier.modular.purchase.suppliers.param.SupplierSuppliersIdParam;
import vip.xiaonuo.supplier.modular.purchase.suppliers.param.SupplierSuppliersPageParam;

import java.util.List;

/**
 * 供应商Service接口
 *
 * @author Mr.wu
 * @date  2025/02/28 21:58
 **/
public interface SupplierSuppliersService extends IService<SupplierSuppliers> {

    /**
     * 获取供应商分页
     *
     * @author Mr.wu
     * @date  2025/02/28 21:58
     */
    Page<SupplierSuppliers> page(SupplierSuppliersPageParam supplierSuppliersPageParam);

    /**
     * 添加供应商
     *
     * @author Mr.wu
     * @date  2025/02/28 21:58
     */
    void add(SupplierSuppliersAddParam supplierSuppliersAddParam);

    /**
     * 编辑供应商
     *
     * @author Mr.wu
     * @date  2025/02/28 21:58
     */
    void edit(SupplierSuppliersEditParam supplierSuppliersEditParam);

    /**
     * 删除供应商
     *
     * @author Mr.wu
     * @date  2025/02/28 21:58
     */
    void delete(List<SupplierSuppliersIdParam> supplierSuppliersIdParamList);

    /**
     * 获取供应商详情
     *
     * @author Mr.wu
     * @date  2025/02/28 21:58
     */
    SupplierSuppliers detail(SupplierSuppliersIdParam supplierSuppliersIdParam);

    /**
     * 获取供应商详情
     *
     * @author Mr.wu
     * @date  2025/02/28 21:58
     **/
    SupplierSuppliers queryEntity(String id);
}
